//
//  SCBViewController.m
//  Time
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 司昌宝. All rights reserved.
//

#import "SCBViewController.h"
#import "SCBNetTool.h"
@interface SCBViewController ()

@end

@implementation SCBViewController

- (void)viewDidLoad {
    [super viewDidLoad];
#if 0
    NSString *urlStr = @"http://api.pianke.me/version4.0/ting/list.php?sig=7C6709EF392A216921CC4EFAD22EA88C";
    NSString *body = @"pageSize=3&sort=2";
    [SCBNetTool POST:urlStr withBody:body withBodyStyle:SCBBodyString withHeaderFile:@{@"Authorization":@"MDoyMDE2MDcxMzA5MjEyNQ=="} withResponse:SCBJSON withSuccess:^(id result) {
        NSLog(@"%@",result);
    } withFaolure:^(NSError *error) {
        NSLog(@"请求失败");
    }];
#endif
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
